'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.get('/', controller.jsSdk.index);
  router.get('/dev/ai/jssdkVoice', controller.jsSdk.jssdkVoice);
  router.get('/getJsSdk', controller.jsSdk.getJsSdk);
  router.get('/dev/wx/getJsConfig', controller.jsSdk.getJsSdk);
  router.get('/pay', controller.jsSdk.pay);
};
